package org.lemon.transport.context.api;

import lombok.extern.slf4j.Slf4j;
import org.server.transport.gen.SessionProto;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class DeviceAuthApi {

    public SessionProto.ValidateDeviceCredentialsResponseMsg deviceTokenValidate(SessionProto.ValidateDeviceTokenRequestMsg request) {
        log.info("\nTODO: rpc: deviceTokenValidate {}", request.toString());
        return null;
    }

    public SessionProto.ValidateDeviceCredentialsResponseMsg basicMqttCredTokenValidate(SessionProto.ValidateBasicMqttCredRequestMsg request) {
        log.info("\nTODO: rpc: basicMqttCredTokenValidate {}", request.toBuilder());
        return null;
    }

    public SessionProto.ValidateDeviceCredentialsResponseMsg deviceX509CertValidate(SessionProto.ValidateDeviceX509CertRequestMsg request) {
        log.info("\nTODO: rpc: deviceX509CertValidate {}", request.toString());
        return null;
    }
}
